/**
 * @method table表格的标题
 */
export const columns = [
  {
    title: '批次编号',
    dataIndex: 'number',
    ellipsis: true,
    tooltip: true
  },
  {
    title: '批次名称',
    dataIndex: 'name',
    ellipsis: true,
    tooltip: true
  },
  {
    title: '资产主体',
    dataIndex: 'owner',
    ellipsis: true,
    tooltip: true
  },
  {
    title: '上传人',
    dataIndex: 'uploader_name',
    ellipsis: true,
    tooltip: true
  },
  {
    title: '上传日期',
    dataIndex: 'update_time',
    ellipsis: true,
    tooltip: true
  },
  {
    title: '更新日期',
    dataIndex: 'upload_time',
    ellipsis: true,
    tooltip: true
  },
  {
    title: '操作',
    slotName: 'operator',
    fixed: 'right',
    align: 'right',
    width: 200,
    bodyCellClass: 'flex-right'
  }
];

export const operatorData = [
  { label: '查看证书', code: 'showDetail' },
  { label: '删除', code: 'delete' }
];